class AddForiegnKeyToParticipants < ActiveRecord::Migration[5.0]
  def change
  add_column : particiants, :event_id, :integer
  add_foreign_key :particiants, :events
  end
end
